(this.webpackJsonparimo=this.webpackJsonparimo||[]).push([[14],{333:function(e,t,a){"use strict";var n=a(2),r=a(6),c=a(7),l=a(12),s=a(13),i=a(0),o=a.n(i),u=a(308),m=a(17),d=a(313),p=(a(334),function(e){Object(l.a)(a,e);var t=Object(s.a)(a);function a(e){var n;return Object(r.a)(this,a),(n=t.call(this,e)).requestParams={includes:"group,spotify,owner",fields:"projects.name,projects.id",orderBy:"-id"},n.handleChange=function(e){n.props.onChange(e),n.setState({value:e})},n.state={selectOptions:[],value:""},n}return Object(c.a)(a,[{key:"getProjectList",value:function(){var e=this;this.props.projectList.length&&this.setState({selectOptions:this.props.projectList.filter((function(t){return!e.props.onlyOwners||t.owner.id===e.props.owner})).map((function(e){return Object(n.a)(Object(n.a)({},e),{},{value:e.id,label:e.name,group_id:e.group.id})}))})}},{key:"componentDidMount",value:function(){this.props.owner&&(this.requestParams.owner=this.props.owner),this.props.isGetProjects&&this.props.getProjectList(this.requestParams),this.getProjectList()}},{key:"componentDidUpdate",value:function(e,t,a){e.projectList!==this.props.projectList&&this.getProjectList()}},{key:"render",value:function(){return o.a.createElement(o.a.Fragment,null,o.a.createElement(u.a,{className:"input-dark-bg ".concat(this.props.className," ").concat(this.props.required?"is-invalid input-invalid":""),maxMenuHeight:this.props.maxMenuHeight,classNamePrefix:"dark_select",value:this.state.value||this.props.selectedProject,options:this.state.selectOptions,onChange:this.handleChange,name:"color"}),o.a.createElement("div",{className:"invalid-feedback"},"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442"))}}]),a}(i.Component));t.a=Object(m.b)(null,{getProjectList:d.f})(p)},334:function(e,t,a){},384:function(e,t,a){"use strict";a.d(t,"b",(function(){return d})),a.d(t,"d",(function(){return p})),a.d(t,"a",(function(){return f})),a.d(t,"c",(function(){return h}));var n=a(2),r=a(6),c=a(7),l=a(12),s=a(13),i=a(101),o=a(50),u=a(11),m=new o.a,d=function(e){Object(l.a)(a,e);var t=Object(s.a)(a);function a(){return Object(r.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"getByCode",value:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],c=Object(n.a)({},a);return new Promise((function(a,n){return t.request({auth:!1}).get("".concat(t.entity,"/code/").concat(e),{params:c}).then((function(e){m.setWrapper(e,r).then((function(){return a(e.data)})).catch((function(){return n(e.data)}))})).catch((function(e){n(console.log("getById "+t.entity,e))}))}))}},{key:"generateCode",value:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],c=Object(n.a)({},a),l="?verify_id="+Object(u.c)();return new Promise((function(a,n){return t.request({auth:!0}).get("".concat(t.entity,"/generateCode/").concat(e).concat(l),{params:c}).then((function(e){m.setWrapper(e,r).then((function(){return a(e.data)})).catch((function(){return n(e.data)}))})).catch((function(e){n(console.log("getById "+t.entity,e))}))}))}},{key:"updateByCode",value:function(e,t){var a=this,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return new Promise((function(r,c){return a.request({auth:!1}).put("".concat(a.entity,"/code/").concat(t),e).then((function(e){m.setWrapper(e,n).then((function(){return r(e.data)})).catch((function(){return c(e.data)}))})).catch((function(e){c(console.log("update "+a.entity,e))}))}))}},{key:"entity",get:function(){return"releases"}}]),a}(i.a),p=function(e){Object(l.a)(a,e);var t=Object(s.a)(a);function a(){return Object(r.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"index",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Object(n.a)({},t);return new Promise((function(t,n){return e.request({auth:!1}).get("".concat(e.entity),{params:r}).then((function(e){m.setWrapper(e,a).then((function(){return t(e.data)})).catch((function(){return n(e.data)}))})).catch((function(t){n(console.log("getList "+e.entity,t))}))}))}},{key:"entity",get:function(){return"releases/types"}}]),a}(i.a),f=function(e){Object(l.a)(a,e);var t=Object(s.a)(a);function a(){return Object(r.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"index",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Object(n.a)({},t);return new Promise((function(t,n){return e.request({auth:!1}).get("".concat(e.entity),{params:r}).then((function(e){m.setWrapper(e,a).then((function(){return t(e.data)})).catch((function(){return n(e.data)}))})).catch((function(t){n(console.log("getList "+e.entity,t))}))}))}},{key:"entity",get:function(){return"releases/genres"}}]),a}(i.a),h=function(e){Object(l.a)(a,e);var t=Object(s.a)(a);function a(){return Object(r.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"updateByCode",value:function(e,t){var a=this,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return new Promise((function(r,c){return a.request({auth:!1}).put("".concat(a.entity,"/code/").concat(t),e).then((function(e){m.setWrapper(e,n).then((function(){return r(e.data)})).catch((function(){return c(e.data)}))})).catch((function(e){c(console.log("update "+a.entity,e))}))}))}},{key:"entity",get:function(){return"releases/tracks"}}]),a}(i.a)},447:function(e,t,a){"use strict";var n=a(0),r=a.n(n),c=a(4),l=a.n(c),s=r.a.memo((function(e){return r.a.createElement("div",{className:l()("vx-radio-con ".concat(e.className||""," ").concat(e.color?"vx-radio-".concat(e.color):""))},r.a.createElement("input",{type:"checkbox",defaultChecked:e.defaultChecked,value:e.value,disabled:e.disabled,name:e.name,onClick:e.onClick,onChange:e.onChange,ref:e.ref,checked:e.checked}),r.a.createElement("span",{className:l()("vx-radio ".concat(e.iconClassName||""),{"vx-radio-sm":"sm"===e.size,"vx-radio-lg":"lg"===e.size})},r.a.createElement("span",{className:"vx-radio--border"}),r.a.createElement("span",{className:"vx-radio--circle"})),r.a.createElement("span",{className:e.labelClassName},e.label))}));t.a=s},805:function(e,t,a){},819:function(e,t,a){"use strict";a.r(t);var n=a(100),r=a(0),c=a.n(r),l=a(17),s=a(371),i=a(28),o=a(384),u=a(35),m=(a(359),function(e){return function(t){t(Object(i.e)("releases-list")),o.b.index(e).then((function(e){t({type:u.g,payload:e.data.releases||{}})})).finally((function(){t(Object(i.g)("releases-list"))}))}}),d=function(e){return function(t){t(Object(i.e)("releases-list")),o.d.index(e).then((function(e){return t({type:u.d,payload:e.data.types}),e})).finally((function(){t(Object(i.g)("releases-list"))}))}},p=(a(805),a(418)),f=a(498),h=a(499),b=a(107),v=a(485),g=a(313),E=(a(419),a(420),a(2)),j=a(447),y=function(e){var t=e.userFilterData.length?e.userFilterData.split(","):[],a=Object(r.useState)(t.includes(e.data.id.toString())),l=Object(n.a)(a,2),s=l[0],i=l[1];Object(r.useEffect)((function(){i(t.includes(e.data.id.toString()))}),[t]);return c.a.createElement(j.a,{value:e.data.id,name:"".concat(e.typeFilter).concat(e.data.id),checked:s,onChange:function(a){i(!s);var n=(t=e.userFilterData.length?e.userFilterData.split(","):[]).indexOf(a.target.value);-1===n?t.push(a.target.value):t.splice(n,1),e.setChecked(e.typeCheck,e.typeFilter,t.join())},label:e.data.name,className:"release-filter__item",labelClassName:"release-filter__checkbox-label",iconClassName:"release-filter__checkbox-icon"})},O=function(e){var t=e.typeFilter,a=e.filterData,l=e.userFilterData,s=e.setChecked,i=e.maxValue,o=void 0===i?5:i,m=e.title,d=void 0===m?"":m,p=0,f=[],h=[],b=a?a.meta.pagination:"",v=a?a.data.length:0;b&&(p=b.total-o);var g=Object(r.useState)({hidden:!0,buttonText:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0435\u0449\u0435",height:e.maxValue?30*e.maxValue:150}),j=Object(n.a)(g,2),O=j[0],N=j[1];Object(r.useEffect)((function(){e.showMore&&e.showMore(e.maxValue||5,e.typeFilter)}),[]);return a&&a.data.forEach((function(e,a){a<o?f.push(c.a.createElement(y,{typeFilter:t,key:e.id,data:e,userFilterData:l,setChecked:s,typeCheck:u.i})):h.push(c.a.createElement(y,{typeFilter:t,key:e.id,data:e,userFilterData:l,setChecked:s,typeCheck:u.i}))})),c.a.createElement(c.a.Fragment,null,c.a.createElement("div",{className:"multi-range-title pb-75"},c.a.createElement("h6",{className:"filter-title mb-0"},d)),c.a.createElement("div",{className:"check-release-filter ".concat(p?"release-filter__scroller-container":"filter-item-container")},c.a.createElement("div",{className:"release-filter__items ".concat(p>0?"release-filter__scroller":""),style:{height:"".concat(v<o?30*v:O.height,"px")}},c.a.createElement("div",null,f),c.a.createElement("div",{hidden:O.hidden},h)),p>0?c.a.createElement("span",{onClick:function(){return a=b.total,n=t,N(Object(E.a)(Object(E.a)({},O),{},{hidden:!O.hidden,buttonText:O.hidden?"\u0421\u043a\u0440\u044b\u0442\u044c":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0435\u0449\u0435"})),O.hidden&&O.height<235?N(Object(E.a)(Object(E.a)({},O),{},{height:235})):235===O.height&&N(Object(E.a)(Object(E.a)({},O),{},{height:e.maxValue?30*e.maxValue:150})),void(e.filterData.data.length!==a&&O.hidden&&e.showMore(a,n));var a,n},className:"release-filter__item-button"},O.buttonText," ",O.hidden&&p>0?p:""):""),c.a.createElement("hr",null))},N=((0,v.a.createSliderWithTooltip)(v.a.Range),Object(l.b)((function(e){return{releasesTypes:e.releases.releasesTypes,userFilterData:e.releases.userFilterData,projectList:{data:e.projects.list,meta:e.projects.meta}}}),{setData:i.a,setFieldData:i.b,getProjectList:g.f,getReleasesTypes:d})((function(e){var t=Object(r.useRef)();Object(r.useEffect)((function(){t&&t.current.offsetHeight&&e.setData(u.f,t.current.offsetHeight+200)}),[e.sidebarOpen]);var a=function(t,a){switch(a){case"projects":e.getProjectList({includes:"group,owner",limit:t});break;case"types":e.getReleasesTypes({limit:t})}};return c.a.createElement("div",{ref:t},c.a.createElement(f.a,null,c.a.createElement(h.a,{className:"p-2"},c.a.createElement("div",{className:"multi-range-price"},c.a.createElement(O,{title:"\u041f\u0440\u043e\u0435\u043a\u0442\u044b",maxValue:8,typeFilter:"projects",filterData:e.projectList,userFilterData:e.userFilterData.projects,setChecked:e.setFieldData,showMore:a})),c.a.createElement("div",{className:"multi-range-price"},c.a.createElement(O,{title:"\u0422\u0438\u043f \u0440\u0435\u043b\u0438\u0437\u0430",maxValue:8,typeFilter:"types",filterData:e.releasesTypes,userFilterData:e.userFilterData.types,setChecked:e.setFieldData,showMore:a})),c.a.createElement("div",{className:"clear-filters"},c.a.createElement(b.a.Ripple,{block:!0,className:"btn-block",color:"primary",onClick:function(){return e.setData(u.a)}},"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440")))))}))),D=a(500),_=a(501),k=a(160),F=a(48),x=(a(341),a(342),a(502)),C=a(503),w=a(176),P=function(e){var t="",a=Object(r.useRef)();return Object(r.useEffect)((function(){!e.userFilterData.search&&a&&a.current.reset()}),[e.userFilterData]),c.a.createElement("div",{className:"ecommerce-searchbar releases__search"},c.a.createElement(x.a,{className:"position-relative"},c.a.createElement("form",{ref:a},c.a.createElement(C.a,{className:"search-product",placeholder:"\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439 \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c",onChange:function(a){t=a.target.value,setTimeout((function(){e.setFieldData(u.i,"search",t)}),200)}})),c.a.createElement("div",{className:"form-control-position"},c.a.createElement(w.a,{size:22}))))},L=a(445),R=a(392),S=a(119),T=a(147),M=a(36),q=function(e){var t=e.data,a=t.name,n=t.id,r=t.releases_date,l=t.project,s=t.type,i=t.budget,o=parseInt((new Date).getTime()/1e3),u=null===r?null:o>r?0:Math.ceil((r-o)/86400),m=null===u||u>=14?0:100-7.14*u,d=r?"".concat(Object(F.e)(r).toLocaleString("ru",{year:"numeric",month:"long",day:"numeric"})):"";return c.a.createElement(_.a,{xs:"12",md:"6",className:"mb-2 release-item"},c.a.createElement(f.a,{className:"mb-0 h-100"},c.a.createElement("div",{className:"p-2 project-card-title"},c.a.createElement(D.a,null,c.a.createElement(_.a,{xs:8,xl:4,className:"release-progress"},c.a.createElement(L.a,{className:"progress-lg",value:m,color:["success","warning","danger"][null===u||u>=7?2:u>=2?1:0]})),c.a.createElement(_.a,{xs:4,xl:2,className:"release-days"},null!==u?c.a.createElement("span",null,u," \u0434\u043d."):""),c.a.createElement(_.a,{xl:6,className:"release-date mt-1 mt-lg-0"},c.a.createElement("div",{className:"align-items-center release-item__date"},d&&c.a.createElement("div",{className:"d-flex release-date-content align-items-center justify-content-xl-end h-100 mt-75 mt-sm-0"},c.a.createElement("span",{className:"release-item__date-big"},d),c.a.createElement(S.a,{className:"fonticon-wrap",size:15}))))),c.a.createElement(D.a,null,c.a.createElement(_.a,null,c.a.createElement("div",{className:"release-item__title"},c.a.createElement("span",{className:"text-primary"},a))))),c.a.createElement(h.a,{className:"px-2 py-0"},c.a.createElement("div",{className:"d-flex justify-content-start project-card-content"},c.a.createElement("div",{className:"release-item__option-title pr-1"},c.a.createElement("span",null,"\u0422\u0438\u043f:")),c.a.createElement("div",{className:"release-item__option-value"},c.a.createElement("span",null,s&&s.name?s.name:""))),c.a.createElement("div",{className:"d-flex justify-content-start project-card-content"},c.a.createElement("div",{className:"release-item__option-title pr-1"},c.a.createElement("span",null,"\u041f\u0440\u043e\u0435\u043a\u0442:")),c.a.createElement("div",{className:"release-item__option-value"},c.a.createElement("span",null,l&&l.name?l.name:""))),c.a.createElement("div",{className:"d-flex justify-content-start project-card-content"},c.a.createElement("div",{className:"release-item__option-title pr-1"},c.a.createElement("span",null,"\u0411\u044e\u0434\u0436\u0435\u0442:")),c.a.createElement("div",{className:"release-item__option-value"},c.a.createElement("span",{className:"text-warning"},i.toLocaleString("ru")+" \u0440\u0443\u0431")))),c.a.createElement(R.a,{className:"border-0 pt-0"},c.a.createElement("div",{className:"release-item__more-details"},c.a.createElement(M.b,{to:"/releases/".concat(n,"/info"),className:"release-item__link"},c.a.createElement("span",null,"\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435"),c.a.createElement(T.a,{className:"fonticon-wrap",size:18}))))))},H=a(331),V=a(314),z=a(6),B=a(7),I=a(12),W=a(13),A=a(339),G=a.n(A),J=a(340),U=function(e){Object(I.a)(a,e);var t=Object(W.a)(a);function a(){var e;Object(z.a)(this,a);for(var n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return(e=t.call.apply(t,[this].concat(r))).handleOnChange=function(){e.flatpickrRef.flatpickr.toggle()},e}return Object(B.a)(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.minDate,n=t.maxDate,r=t.setDate,l=t.setFieldData,s=t.placeholder,i=t.value,o=t.type,m={dateFormat:"d-m-Y",locale:J.Russian,maxDate:n,minDate:a,disableMobile:"true"};return c.a.createElement("div",{className:"releases__filter-date-item releases__filter-header-item"},c.a.createElement(x.a,{className:"position-relative"},c.a.createElement(G.a,{ref:function(t){return e.flatpickrRef=t},className:"form-control text-center",placeholder:s,value:i,options:m,onChange:function(e){r(e),l(u.i,o,Object(F.j)(e))}}),c.a.createElement("div",{className:"form-control-position",onClick:this.handleOnChange},c.a.createElement(S.a,{size:18}))))}}]),a}(c.a.PureComponent),Y=function(e){var t=e.releases,a=e.mainSidebar,l=e.setFieldData,s=e.userFilterData,i=e.setData,o=e.spinner,m=e.minHeight,d="object"===typeof s&&Object.values(s).filter(Boolean).length,p=Object(r.useState)(""),f=Object(n.a)(p,2),h=f[0],v=f[1],g=Object(r.useState)(""),E=Object(n.a)(g,2),j=E[0],y=E[1];return c.a.createElement(c.a.Fragment,null,o.includes("releases-list")&&c.a.createElement(V.a,null),c.a.createElement("div",{className:"shop-content releases-content",style:{minHeight:m}},c.a.createElement(D.a,null,c.a.createElement(_.a,{sm:"12 mb-2"},c.a.createElement(D.a,null,c.a.createElement(_.a,{md:6},c.a.createElement(P,{setFieldData:l,userFilterData:s})),c.a.createElement(_.a,{md:6,className:"mt-1 mt-md-0"},c.a.createElement("div",{className:"releases__filter-header-items"},c.a.createElement("div",{className:"releases__filter-date-items"},c.a.createElement(U,{type:"from",placeholder:"01-01-2020",value:s.from?Object(F.e)(s.from):"",maxDate:j?new Date(j):"",setDate:v,setFieldData:l}),c.a.createElement("div",{className:"releases__filter-date-desc"},"\u0434\u043e"),c.a.createElement(U,{type:"to",placeholder:"31-12-2020",value:s.to?Object(F.e)(s.to):"",minDate:h?new Date(h):"",setDate:y,setFieldData:l})),c.a.createElement("div",{className:"releases__group-header-btn d-flex d-lg-block"},c.a.createElement("div",{className:"releases__filter-header-item releases__filter-header-button flex-grow-1"},c.a.createElement(b.a.Ripple,{block:!0,color:"primary",className:"releases__add-btn btn-block px-md-6",onClick:function(){return i(u.c,!0)}},"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u043b\u0438\u0437")),c.a.createElement("div",{className:"releases__filter-toggler d-block d-lg-none"},c.a.createElement(b.a.Ripple,{outline:!0,color:"primary",onClick:a},c.a.createElement(k.a,{size:18})))))))),c.a.createElement(_.a,{sm:"12"},c.a.createElement("div",{id:"ecommerce-products"},c.a.createElement(D.a,null,t.data&&t.data.length?t.data.map((function(e){return c.a.createElement(q,{data:e,key:e.id})})):d>4?c.a.createElement("div",{className:"p-2"},c.a.createElement("p",null,"\u041f\u043e \u0432\u0430\u0448\u0435\u043c\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e")):"")))),t.meta&&c.a.createElement(H.a,{pagination:t.meta.pagination,onPageChange:function(e){i(u.h,e)}})))},K=a(574),Q=a(509),X=a(510),Z=a(389),$=a(511),ee=a(448),te=a(347),ae=a(333),ne=Object(l.b)((function(e){return{modal:e.releases.modal,modalData:e.releases.modalData,userFilterData:e.releases.userFilterData,spinner:e.helper.spinner,projectsList:e.projects.ownerProjectList,verify_id:e.users.data.verify_id}}),{setData:i.a,setFieldData:i.b,getReleasesTypes:d,addRelease:function(e,t){return function(a){a(Object(i.e)("release-create")),o.b.create(e).then((function(e){e.error||(m(t)(a),a({type:u.c,payload:!1}))})).finally((function(){a(Object(i.g)("release-create"))}))}}})((function(e){var t=Object(r.useState)({selectProjectInvalid:!1}),a=Object(n.a)(t,2),l=a[0],s=a[1],i=function(){e.setData(u.c,!1),e.setData(u.b),s({selectProjectInvalid:!1})};return c.a.createElement(c.a.Fragment,null,c.a.createElement(K.a,{isOpen:e.modal,toggle:i,size:"sm"},c.a.createElement(Q.a,{toggle:i},"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u043b\u0438\u0437"),c.a.createElement(ee.AvForm,{onValidSubmit:function(){e.addRelease(e.modalData,e.userFilterData)},className:"authentication-form mt-1",id:"addReleaseForm"},-1!==e.spinner.indexOf("release-create")&&c.a.createElement(te.a,null),c.a.createElement(X.a,null,c.a.createElement(D.a,null,c.a.createElement(_.a,{md:"12"},c.a.createElement("div",null,c.a.createElement(ee.AvGroup,{className:"release-form-item"},c.a.createElement(Z.a,{for:"projectList"},"\u041f\u0440\u043e\u0435\u043a\u0442"),c.a.createElement(ae.a,{maxMenuHeight:220,projectList:e.projectsList,setData:e.setData,onChange:function(t){return e.setFieldData(u.e,"project_id",t.value)},required:l.selectProjectInvalid,owner:e.verify_id,isGetProjects:!0,onlyOwners:!0})))))),c.a.createElement($.a,null,c.a.createElement(b.a.Ripple,{color:"primary",type:"submit",className:"project-modal-button",onClick:function(){!e.modalData.project_id&&s(Object(E.a)(Object(E.a)({},l),{},{selectProjectInvalid:!0}))}},"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c")))))})),re=window.matchMedia("(min-width: 992px)");t.default=Object(l.b)((function(e){return{releases:e.releases.releases,spinner:e.helper.spinner,sidebarHeight:e.releases.sidebarHeight,userFilterData:e.releases.userFilterData}}),{setData:i.a,getReleases:m,setFieldData:i.b})((function(e){var t=Object(r.useState)(re.matches),a=Object(n.a)(t,2),l=a[0],i=a[1],o=Object(r.useState)(!1),m=Object(n.a)(o,2),d=m[0],f=m[1],h=function(){i(re.matches),f(!1)};return Object(r.useEffect)((function(){var t=new URLSearchParams(e.location.search);t.get("project_id")&&e.setFieldData(u.i,"projects",t.get("project_id")||"")}),[]),Object(r.useEffect)((function(){e.getReleases(e.userFilterData)}),[e.userFilterData]),Object(r.useEffect)((function(){return re.addListener(h),function(){re.removeListener(h)}}),[]),c.a.createElement("div",{className:"releases-container"},c.a.createElement(s.a,{breadCrumbTitle:"\u0421\u043f\u0438\u0441\u043e\u043a \u0440\u0435\u043b\u0438\u0437\u043e\u0432",breadCrumbParent:"\u0420\u0435\u043b\u0438\u0437\u044b",breadCrumbActive:"\u0421\u043f\u0438\u0441\u043e\u043a \u0440\u0435\u043b\u0438\u0437\u043e\u0432"}),c.a.createElement(ne,null),c.a.createElement("div",{className:"ecommerce-application"},c.a.createElement("div",{className:"shop-content-overlay ".concat(d?"show":""),onClick:function(){return f(!d)}}),c.a.createElement("div",{className:"sidebar-section"},c.a.createElement(p.a,{sidebar:c.a.createElement(N,{sidebarOpen:d}),docked:l,open:!!d,sidebarClassName:"sidebar-shop",touch:!0,contentClassName:"sidebar-children d-none"},'""')),c.a.createElement(Y,{minHeight:d?e.sidebarHeight:"",userFilterData:e.userFilterData,setFieldData:e.setFieldData,mainSidebar:f,sidebar:d,spinner:e.spinner,setData:e.setData,releases:e.releases})))}))}}]);
//# sourceMappingURL=14.296c00d3.chunk.js.map